package com.chengyu.core.mapper;

import com.chengyu.core.model.TyShop;
import com.chengyu.core.model.TyShopExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TyShopMapper {
    long countByExample(TyShopExample example);

    int deleteByExample(TyShopExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TyShop record);

    int insertSelective(TyShop record);

    List<TyShop> selectByExample(TyShopExample example);

    TyShop selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TyShop record, @Param("example") TyShopExample example);

    int updateByExample(@Param("record") TyShop record, @Param("example") TyShopExample example);

    int updateByPrimaryKeySelective(TyShop record);

    int updateByPrimaryKey(TyShop record);
}